import request from '@/utils/request'
// 查询表格
export function getList(data) {
  return request({
    url: '/api/PromotionAward/GetList',
    method: 'post',
    data: data
  })
}
// 新增 修改
export function save(data) {
  return request({
    url: '/api/PromotionAward/Save',
    method: 'post',
    data: data
  })
}
// 删除
export function deleteApi(data) {
  return request({
    url: '/api/PromotionAward/Delete',
    method: 'post',
    data: data
  })
}
// 是否启用
export function valid(data) {
  return request({
    url: '/api/PromotionAward/Valid',
    method: 'post',
    data: data
  })
}
export function getExpandDetail(data) {
  return request({
    url: '/api/PromotionAward/GetById',
    method: 'post',
    headers: {
      hideToast: true
    },
    data: data
  })
}
